/*
 * descompresor.h
 *
 *  Created on: 07/09/2012
 *      Author: guidi
 */

#ifndef DESCOMPRESOR_H_
#define DESCOMPRESOR_H_

#include <iostream>
#include <fstream>
#include "const.cpp"

class Descompresor {
public:
	Descompresor();
	~Descompresor();
	int descomprimir(std::ifstream* entrada, std::ofstream* salida);

private:
	std::ifstream* entrada;
	std::ofstream* salida;
	my_char_t tamanio;
	my_char_t caracter;

	void procesar();
};


#endif /* DESCOMPRESOR_H_ */
